package com.exigenservices.practice.roadcompanion.server.dto;

import org.apache.log4j.Logger;

public class RegistrationDTO {
    private static Logger LOGGER = Logger.getLogger(RegistrationDTO.class.getName());
    private String login = "";
    private String pass = "";
    private String pass2 = "";
    private String email = "";
    private String name = "";
    private String sname = "";


    public RegistrationDTO() {}
    public RegistrationDTO(String login, String pass, String email) {
        LOGGER.info("Trying to Registration user");
        this.login = login;
        this.pass = pass;
        this.email = email;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getPass2() {
        return pass2;
    }

    public void setPass2(String pass2) {
        this.pass2 = pass2;
    }
}
